+Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
+ moving a toplevel window immediately after sizing it would
+ result in it being sized back to the old size since
+ impl->width, impl->height aren't updated until we hear
+ back from the server. There is still a (longstanding) bug
+ here that gdk_window_get_size() will give the wrong size
+ until we do hear back.
+
2000-08-31 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
+Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
+ moving a toplevel window immediately after sizing it would
+ result in it being sized back to the old size since
+ impl->width, impl->height aren't updated until we hear
+ back from the server. There is still a (longstanding) bug
+ here that gdk_window_get_size() will give the wrong size
+ until we do hear back.
+
2000-08-31 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
+Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
+ moving a toplevel window immediately after sizing it would
+ result in it being sized back to the old size since
+ impl->width, impl->height aren't updated until we hear
+ back from the server. There is still a (longstanding) bug
+ here that gdk_window_get_size() will give the wrong size
+ until we do hear back.
+
2000-08-31 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
+Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
+ moving a toplevel window immediately after sizing it would
+ result in it being sized back to the old size since
+ impl->width, impl->height aren't updated until we hear
+ back from the server. There is still a (longstanding) bug
+ here that gdk_window_get_size() will give the wrong size
+ until we do hear back.
+
2000-08-31 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
+Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
+ moving a toplevel window immediately after sizing it would
+ result in it being sized back to the old size since
+ impl->width, impl->height aren't updated until we hear
+ back from the server. There is still a (longstanding) bug
+ here that gdk_window_get_size() will give the wrong size
+ until we do hear back.
+
2000-08-31 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
+Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
+ moving a toplevel window immediately after sizing it would
+ result in it being sized back to the old size since
+ impl->width, impl->height aren't updated until we hear
+ back from the server. There is still a (longstanding) bug
+ here that gdk_window_get_size() will give the wrong size
+ until we do hear back.
+
2000-08-31 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
+Fri Sep 1 15:34:46 2000 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
+ moving a toplevel window immediately after sizing it would
+ result in it being sized back to the old size since
+ impl->width, impl->height aren't updated until we hear
+ back from the server. There is still a (longstanding) bug
+ here that gdk_window_get_size() will give the wrong size
+ until we do hear back.
+
2000-08-31 Havoc Pennington <hp@redhat.com>
* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
g_return_if_fail (GDK_IS_WINDOW (window));
impl = GDK_WINDOW_IMPL_X11 (private->impl);
-
- gdk_window_move_resize (window, x, y,
- impl->width, impl->height);
+
+ if (!GDK_WINDOW_DESTROYED (window))
+ {
+ if (GDK_WINDOW_TYPE (private) == GDK_WINDOW_CHILD)
+ _gdk_window_move_resize_child (window, x, y,
+ impl->width, impl->height);
+ else
+ {
+ XMoveWindow (GDK_WINDOW_XDISPLAY (window),
+ GDK_WINDOW_XID (window),
+ x, y);
+ }
+ }
}
void
XMoveResizeWindow (GDK_WINDOW_XDISPLAY (window),
GDK_WINDOW_XID (window),
x, y, width, height);
+ private->resize_count += 1;
}
}
}